home *** CD-ROM | disk | FTP | other *** search
- Path: oreig.uji.es!ii202
- From: ii202@rossegat.uji.es (Jorge Acereda Macia)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Demo/game to OS friendly part II
- Date: 12 Feb 1996 13:29:25 GMT
- Organization: Universitat Jaume I. Castell≤ de la Plana. Spain
- Message-ID: <4fnfbl$1m7@oreig.uji.es>
- References: <3118bf29@gauss.demon.co.uk> <4fck17$3v1@serpens.rhein.de>
- NNTP-Posting-Host: @rossegat.uji.es
- X-Newsreader: TIN [version 1.2 PL2]
-
- Michael van Elst (mlelstv@serpens.rhein.de) wrote:
-
- > There are two legal methods to generate a bitmap:
-
- > struct BitMap BM;
-
- > InitBitMap(&BM, depth, width, height);
- > for (i=0; i<depth; ++i)
- > BM.Planes[i] = some_chip_mem;
-
- > and
-
- > struct BitMap *bm;
-
- > bm = AllocBitMap(width, height, depth, flags, friend_bitmap);
-
- > The first kind of bitmap is sufficient for any rendering operation but might be slower
- > than necessary. It does not necessarily work for a display bitmap and it doesn't
- ^^ ^^^^ ^^^ ^^^^^^^^^^^ ^^^^ ^^^ ^ ^^^^^^^ ^^^^^^
- Why? Memory alignment?
-
- --
- ---------------------------- --------------------------------------------
- | Jorge Acereda | Dream the same thing everynight |
- | ii202@rossegat.uji.es | I see our freedom in my sight |
- | Intel Outside | No locked doors, no windows barred |
- | Amiga Rules | No things to make my brain seem scarred |
- ---------------------------- --------------------------------------------
-